import { createRouter, createWebHistory } from 'vue-router'
import routes from './routes'
let router = createRouter({
    history: createWebHistory(),
    scrollBehavior: (to, from, pos) => pos || { top: 0 },
    routes,
})

export default router